// 电影页面
export default [
  {
    path: '/films',
    component: () => import('@/views/film'),
    redirect: '/films/nowPlaying',
    children: [
      {
        path: 'nowPlaying',
        component: () => import('@/views/film/nowPlaying')
      },
      {
        path: 'comingSoon',
        component: () => import('@/views/film/comingSoon')
      }
    ]
  },
  {
    path: '/films/:id',
    name: 'filmsDetail',
    component: () => import('@/views/film/detail'),
    props: true
  }
]
